Use the domain ID to refer to backends, not the UUID. This means that a new
authoremellor@ewan <emellor@ewan>
Tue, 4 Oct 2005 10:01:38 +0000 (11:01 +0100)
committeremellor@ewan <emellor@ewan>
Tue, 4 Oct 2005 10:01:38 +0000 (11:01 +0100)
backend is used on a localhost live migrate; migration was failing otherwise.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/server/DevController.py

index e93d4051cd5f1e0fb020990756fbc3aef719f7c7..7992adc143e415618c08c85ed3cc8a19735a7188 100644 (file)
@@ -230,7 +230,7 @@ class DevController:
 
         return "%s/backend/%s/%s/%d" % (backdom.getDomainPath(),
                                         self.deviceClass,
-                                        self.vm.getUuid(), devid)
+                                        self.vm.getDomid(), devid)
 
 
     def frontendPath(self, devid):